<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        <head>
                <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
                <title></title>
                <link rel="stylesheet" href="http://localhost/shopFrame/Application/Admin/View/Public/Css/bootstrap.min.css" />
                <link rel="stylesheet" href="http://localhost/shopFrame/Application/Admin/View/Public/Css/main.css" />
                <link rel="stylesheet" href="http://localhost/shopFrame/Application/Admin/View/Public/Css/common.css" />
        </head>
        <body>
                <div class="container-fluid">
                        <div class="row-fluid">
                                <div class="span12">
                                        <table class="table table-bordered table-hover">
                                                <thead>
                                                        <tr>
                                                                <th>
                                                                        用户ID
                                                                </th>
                                                                <th>
                                                                        用户名称
                                                                </th>
                                                                <th>
                                                                        登录时间
                                                                </th>
                                                                <th>
                                                                        登陆IP
                                                                </th>
                                                                <th>
                                                                        操作
                                                                </th>
                                                        </tr>
                                                </thead>
                                                <tbody>
                                                        <?php if(is_array($data)){?><?php  foreach($data as $key=>$v){ ?>
                                                                <tr class="info">
                                                                        <td>
                                                                                <?php echo $v['aid'];?>
                                                                        </td>
                                                                        <td>
                                                                                <?php echo $v['adminname'];?>
                                                                        </td>
                                                                        <td><?php echo $v['login_time'];?></td>
                                                                        <td><?php echo $v['login_ip'];?></td>
                                                                        <td>
                                                                                <a href="<?php echo U('Admin/RoleList', array('aid' => $v['aid']));?>" class="btn btn-success"><i class="icon-user icon-white"></i>&nbsp;角色列表</a>
                                                                                <a href="<?php echo U('Admin/del', array('aid' => $v['aid']));?>" class="btn btn-danger"><i class="icon-trash icon-white"></i>&nbsp;删除</a>
                                                                        </td>
                                                                </tr>
                                                        <?php }}?>
                                                </tbody>
                                        </table>
                                </div>
                        </div>
                </div>
        </body>
</html>